﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

public class NewsList
{
    public string typename
    {
        get;
        set;
    }

    public string typeid { get; set; }

    public NewsListEnty[] list
    {
        get;
        set;
    }
}

/// <summary>
///NewsListEnty 的摘要说明
/// </summary>

public class NewsListEnty
{
    /// <summary>
    /// 新闻主键
    /// </summary>
    public long Id
    {
        get;
        set;
    }

    /// <summary>
    /// 新闻标题
    /// </summary>
    public string Title
    {
        get;
        set;
    }

    /// <summary>
    /// 新闻重要程度
    /// </summary>
    public int? Step
    {
        get;
        set;
    }

    /// <summary>
    /// 发布时间
    /// </summary>
    public DateTime? PTime
    {
        get;
        set;
    }
}

/// <summary>
///NewsEnty 的摘要说明
/// </summary>
public class NewsEnty
{
    public long Id { get; set; }
    public string Title { get; set; }
    public int? Step { get; set; }
    public string Url { get; set; }
    public DateTime? PTime { get; set; }
    public DateTime? SPTime { get; set; }
}

public class NewsByTypeEnty
{
    public string typeid { get; set; }

    public string typename { get; set; }

    public List<NewsEnty> list { get; set; }

}

/// <summary>
///NewsSBEnty 的摘要说明
/// </summary>
public class NewsSBEnty
{
    public string Text { get; set; }

    public string Url { get; set; }

    public string Color { get; set; }

    public string FontWeight { get; set; }
}

/// <summary>
/// 头条新闻类
/// </summary>
public class NewsHeadEnty {

    public string Title { get; set; }

    public string Content { get; set; }

    public string Url { get; set; }
}

